home *** CD-ROM | disk | FTP | other *** search
/ Aminet 12 / Aminet 12 (1996)(GTI - Schatztruhe)[!][Jun 1996].iso / Aminet / util / libs / WBStart.readme < prev    next >
Encoding:
Text File  |  1996-05-05  |  3.7 KB  |  80 lines

  1. Short:    Emulate program starting from WB (V2.0)
  2. Author:   stefanb@yello.ping.de (Stefan Becker)
  3. Uploader: stefanb@yello.ping.de (Stefan Becker)
  4. Version:  2.0
  5. Type:     util/libs
  6. Replaces: util/cli/WBStart1_4.lha
  7. Requires: OS 3.0 (V39) or better
  8. Kurz:     Emuliere Programmstart von der WB (V2.0)
  9.  
  10. WBStart is a package  to  emulate  the  Workbenchs'  method  of  starting
  11. programs. Emulating this method seems to  be  easy  on  the  first  look,
  12. because you only have to load a program, create a process and then send a
  13. Workbench startup message to it.
  14.  
  15. But complications arise from this startup message. It  contains  pointers
  16. to memory and directory locks owned by your process and it  will  not  be
  17. returned until the newly created Workbench process exits. So your process
  18. can't quit until ALL Workbench processes which have been started by  your
  19. process are finished. If you don't wait the replied messages will go into
  20. nowhere land and the man from India will visit you.
  21.  
  22. WBStart solves this problem by using a handler process, which  loads  the
  23. program, creates the process, sends the message and then  waits  for  the
  24. reply. You just supply all  needed  information  like  program  name  and
  25. arguments in a library call. The handler copies this information so  your
  26. program can free its resources and exit.
  27.  
  28. Changes since version 1.4:
  29.  
  30.    - The code has been rewritten from scratch.
  31.    - The handler has been integrated into a shared  library.  This  means
  32.      that you don't have to start the handler by hand anymore. It will be
  33.      started automagically when you try to start a  WB  program  using  a
  34.      library call. This also means an end to all these "I can't start  WB
  35.      programs" error reports resulting from a missing e-Flag on the  file
  36.      L:WBStart-Handler :-)
  37.  
  38.      NOTE: The old interface is not supported anymore!
  39.            You have to rewrite your applications.
  40.  
  41.    - Requires OS 3.0 (V39) or better.
  42.    - Now uses memory pools to reduce memory fragmenting.
  43.    - Improved WB starter code. It should be almost 100% compatible to the
  44.      real Workbench now.
  45.  
  46.      NOTE: This may result in some incompatibilities to the  old  WBStart
  47.            package, so you  might  have  to  change  some  of  the  input
  48.            parameters, e.g. in ToolManager Exec objects.
  49.  
  50.    - Fixed the problem with variables and aliases.
  51.    - Fixed the problem with project icons whose default tool had no icon.
  52.  
  53.  
  54. ============================= Archive contents =============================
  55.  
  56. Original  Packed Ratio    Date     Time    Name
  57. -------- ------- ----- --------- --------  -------------
  58.     1685     510 69.7% 13-Mar-96 17:26:34 +DMakefile
  59.      293     201 31.3% 13-Mar-96 17:30:16 +wbstart.c
  60.      311     207 33.4% 13-Mar-96 17:26:34 +DMakefile
  61.     2704    1889 30.1% 13-Mar-96 17:31:22 +WBStarter
  62.     1094     548 49.9% 13-Mar-96 17:29:58 +WBStarter.c
  63.      391     235 39.8% 13-Mar-96 17:29:02 +wbstart_protos.h
  64.     1451     532 63.3% 13-Mar-96 17:28:50 +wbstart.h
  65.      356     199 44.1% 13-Mar-96 17:29:28 +wbstart_pragmas.h
  66.      131      99 24.4% 13-Mar-96 17:29:36 +wbstart.h
  67.      199     151 24.1% 13-Mar-96 17:30:38 +wbstart_lib.fd
  68.     2627     872 66.8% 13-Mar-96 17:26:34 +wbstart.doc
  69.     4056    2503 38.2% 13-Mar-96 17:30:12 +wbstart.library
  70.      824     394 52.1% 13-Mar-96 17:27:38 +DMakefile
  71.     4334    1498 65.4% 13-Mar-96 17:28:08 +handler.c
  72.     1847     648 64.9% 13-Mar-96 17:28:18 +memory.c
  73.     4822    1596 66.9% 13-Mar-96 17:28:30 +paths.c
  74.    12021    3499 70.8% 13-Mar-96 17:28:40 +start.c
  75.     8542    2569 69.9% 13-Mar-96 17:27:58 +wbstart.c
  76.     2448     839 65.7% 13-Mar-96 17:27:50 +wbstart.h
  77.     7402    3203 56.7% 13-Mar-96 17:32:02 +WBStart.txt
  78. -------- ------- ----- --------- --------
  79.    57538   22192 61.4% 14-Mar-96 00:08:16   20 files
  80.